//
//  SuperViewController.h
//  test
//
//  Created by apple on 16/3/25.
//  Copyright © 2016年 ibendi. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "IBDEmptyView.h"

typedef void(^ClickRightItem)(void);

@interface SuperViewController : UIViewController

@property CGFloat view_startY;
@property (copy,nonatomic)  ClickRightItem itemClick;

/**(F)显示返回按钮 */
-(void)showNavigationBarBackItem;
/**(F)隐藏返回按钮 */
-(void)hideNavigationBarBackItem;

/**(F)添加导航栏名字  */
-(void)setNavigationTitle:(NSString *)title;

- (void)setNavcRightItem:(UIImage *)image andSelectorBlock:(void(^)(void))completion;

-(void)showEmptyView:(UIView *)targetView WithImage:(UIImage *)image andText:(NSString *)text subText:(NSString *)subText addEmptyRefresh:(void(^)(void))refreshingBlock;
-(void)hiddenEmptyView:(UIView *)targetView;

- (void)addEmptyHeaderRefresh:(void(^)(void))refreshingBlock;
-(void)emptyEndRefreshing;


-(void)goLogInView;


@end
